//=======================================================
//AUTHOR: JEFF XL. ZHANG ARIZONA STATE UNIVERSITY
//ALL RIGHTS RESERVED  2008
//=======================================================
#pragma once
//#ifndef		//potential replacement for pragma once
#include <cv.h>
#include <highgui.h>
#include "line.h"
#include "data_structure.h"

using namespace std;

class LineFeature{
	
public:
	bool Verticalness;
	double Length, Slope, Intercept;
	Histogram TheHist;		//FOR EACH EDGE
	LineFeature();
	LineFeature(IplImage *aimg,const Line& aline);
	~LineFeature();

private:
	IplImage* _TheImage;		//ORIGINAL Image
	Line _TheLine;		//ORIGINAL LINE SEGMENT TO BE OPERATED ON (***is this correct?***)
};

LineFeature::LineFeature(){
	//DEFAULT CONSTRUCTOR
}

LineFeature::~LineFeature(){
};

LineFeature::LineFeature(IplImage *aimg,const Line& aline){
//LineFeature::LineFeature(Line aline){
	_TheImage = aimg;
	_TheLine = aline;
}

